home *** CD-ROM | disk | FTP | other *** search
- Path: news.onramp.net!usenet
- From: magras@suite.com (JC Magras)
- Newsgroups: comp.unix.solaris,comp.software.config-mgmt,comp.lang.c
- Subject: CVS 1.6 again
- Date: 4 Jan 1996 21:48:52 GMT
- Organization: On-Ramp; Individual Internet Connections; Dallas/Ft Worth/Houston, TX USA
- Distribution: inet
- Message-ID: <4chi04$5tl@news.onramp.net>
- NNTP-Posting-Host: s175-18.suite.com
- X-Newsreader: Alexandra.app (Version 0.81)
-
- Hi folks,
-
- Went out and did some digging. I was running CVS 1.6 on a Sparc 5/Solaris2.4
- box. I was trying to retrieve a directory with 488 files in it. After the
- first file ( maybe second) had been retrieved, it cored due to a bus error.
-
- The source file that caused the error was cvs-1.6/lib/getdate.c .
-
- gdb reported ...
- 0 0xef66c598 in _time ()
- (gdb) where
- #0 0xef66c598 in _time ()
- #1 0x87f38 in get_date ()
- #2 0x480e4 in RCS_getrevtime ()
- #3 0x58af8 in Version_TS ()
- #4 0x546bc in checkout_file ()
- #5 0x531a0 in update_file_proc ()
- #6 0x49d30 in do_file_proc ()
- #7 0x2c0c4 in walklist ()
- #8 0x49ab0 in do_recursion ()
- #9 0x4a15c in do_dir_proc ()
- #10 0x2c0c4 in walklist ()
- #11 0x49c20 in do_recursion ()
- #12 0x48f5c in start_recursion ()
- #13 0x52a24 in do_update ()
- #14 0x1e6b4 in checkout_proc ()
- #15 0x3d3ac in do_module ()
- #16 0x1d7a0 in checkout ()
- #17 0x3b588 in main ()
-
- from cvs-1.6/lib/getdate.c
- use old timeb structure ...
- struct timeb {
- time_t time; /* Seconds since the epoch */
- unsigned short millitm; /* Field not used */
- short timezone; /* Minutes west of GMT */
- short dstflag; /* Field not used */
- };
-
-
- get_date(p, now)
- char *p;
- struct timeb *now;
- {
- struct tm *tm, gmt;
- struct timeb ftz;
- time_t Start;
- time_t tod;
-
- yyInput = p;
- if (now == NULL) {
- now = &ftz;
- (void)time(&(ftz.time));
-
- This thing is choking initializing a variable. When I try to compile cvs-1.6
- with gcc, it complains error.c cannot be compiled because __builtin_va_alist
- isnt defined.
-
- The directory is aliased to the module das
- $ ls das
- CVS DasAPRep.h DasAPRep.m core
- $ ls das/CVS
- ,,DasAPRep.h Entries Entries.Log Repository Root
- $ ls -l das/CVS
- total 10
- -rw-r----- 1 magras develop 823 Jan 3 18:18 ,,DasAPRep.h
- -rw-r--r-- 1 magras develop 47 Jan 4 15:18 Entries
- -rw-r--r-- 1 magras develop 47 Jan 4 15:18 Entries.Log
- -rw-r--r-- 1 magras develop 52 Jan 3 18:18 Repository
- -rw-r--r-- 1 magras develop 35 Jan 3 18:18 Root
- $ ls -l das/CVS/Entries
- -rw-r--r-- 1 magras develop 47 Jan 4 15:18 das/CVS/Entries
- $ cat das/CVS/Entries
- /DasAPRep.h/1.1.1.1/Thu Jan 4 00:18:22 1996//
- $ cat das/CVS/Entries.Log
- /DasAPRep.h/1.1.1.1/Thu Jan 4 20:10:54 1996//
- $
-
-
-
-